<?php

class LanguageController extends Zend_Controller_Action {

    public function init() {
        
    }

    public function indexAction() {
        
    }
    
    public function changeAction() {
       $params = $this->getRequest()->getParams();
		 @Zend_Registry::set('Zend_Locale', new Zend_Locale($params['lang']));
		 $session = new Zend_Session_Namespace('Default');
		 $session->lang = $params['lang'];
		 $this->_redirect("index/index");
		 
		 Zend_Log_Form
    }
}


